Plug some holes in our structs by rearranging
a few fields. This is was done looking at
pahole output.
GValue value;
GInputStream *stream;
int priority;
+ gboolean returned;
GCancellable *cancellable;
gpointer user_data;
GAsyncReadyCallback callback;
GDestroyNotify task_notify;
GError *error;
- gboolean returned;
};
struct _GdkContentDeserializerClass
GValue value;
GOutputStream *stream;
int priority;
+ gboolean returned;
GCancellable *cancellable;
gpointer user_data;
GAsyncReadyCallback callback;
GDestroyNotify task_notify;
GError *error;
- gboolean returned;
};
struct _GdkContentSerializerClass
GdkInputSource source;
gboolean has_cursor;
GdkAxisFlags axis_flags;
+ GdkDeviceType type;
GdkDisplay *display;
/* The paired logical device for logical devices,
* or the associated logical device for physical ones
*/
GdkDevice *associated;
GList *physical_devices;
- GdkDeviceType type;
GArray *axes;
guint num_touches;
int x;
int y;
- guint8 resize_count;
-
GdkGLContext *gl_paint_context;
cairo_region_t *update_area;
GdkSurfaceState old_state;
GdkSurfaceState state;
+ guint8 resize_count;
+
guint8 alpha;
guint8 fullscreen_mode;
guint modal_hint : 1;
-
guint destroyed : 2;
-
guint in_update : 1;
guint frame_clock_events_paused : 1;
guint autohide : 1;
+ guint shortcuts_inhibited : 1;
struct {
GdkGravity surface_anchor;
cairo_region_t *opaque_region;
- guint shortcuts_inhibited : 1;
GdkSeat *current_shortcuts_inhibited_seat;
};
struct _DirectionCacheEntry
{
guint serial;
- Atom group_atom;
PangoDirection direction;
+ Atom group_atom;
};
struct _GdkX11Keymap